﻿using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace TagThisOrgProject.Utils
{
    public class ApiResponse<T>
    {
        [JsonConverter(typeof(StringEnumConverter))]
        public Status status { get; set; }
        public string message { get; set; }
        public T data { get; set; }
    }
    public enum Status
    {
        Ok,
        Error
    }
}